import java.util.Scanner;

public class Judge4 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		System.out.println("请输入第一个数字");
		int a = s.nextInt();
		
		System.out.println("请输入第二个数字");
		int b = s.nextInt();
		
		System.out.println("请输入第三个数字");
		int c = s.nextInt();
		
		if(a>=b && a>=c) {
			if(b>=c) {
				System.out.println(a+" "+ b +" "+ c);
			}else{
				System.out.println(a+" "+ c +" "+ b);
			}
		}else if(b>=a && b>=c) {
			if(a>=c) {
				System.out.println(b+" "+ a +" "+ c);
			}else {
				System.out.println(b+" "+ c +" "+ a);
			}
		}else if(c>=a && c>=b) {
			if(a>=b) {
				System.out.println(c+" "+ a +" "+ b);
			}else {
				System.out.println(c+" "+ b +" "+ a);
			}
		}
	}

}
